package com.cskaoyan.wordmemorize.dto.app;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "App端商品信息")
public class AppGoodsDTO {

    @Schema(description = "商品ID")
    private String id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "商品描述")
    private String desc;

    @Schema(description = "商品类型: 1.单词上限 2.等级解锁 3.补签卡")
    private Integer type;

    @Schema(description = "商品值，如果是等级商品则表示等级值，如果是单词上限则表示单词上限个数")
    private Integer value;
}
